package qf.sail.entity;

public class OrderItem {
    private String size;    //选择尺码

    private String color;   //选择颜色

    private int count;  //购买数量


    private Long goodId;    //商品id

    private Long orderId;   //订单id

    private Long shopCarId;     //购物车id

    private Good good;  //对应商品

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Long getGoodId() {
        return goodId;
    }

    public void setGoodId(Long goodId) {
        this.goodId = goodId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getShopCarId() {
        return shopCarId;
    }

    public void setShopCarId(Long shopCarId) {
        this.shopCarId = shopCarId;
    }

    public Good getGood() {
        return good;
    }

    public void setGood(Good good) {
        this.good = good;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }


    @Override
    public String toString() {
        return "OrderItem{" +
                "size='" + size + '\'' +
                ", color='" + color + '\'' +
                ", count=" + count +
                ", goodId=" + goodId +
                ", orderId=" + orderId +
                ", shopCarId=" + shopCarId +
                ", good=" + good +
                '}';
    }
}
